package ed.hbut.supermarket1.service;


import ed.hbut.supermarket1.dto.MerchandiseDto;
import ed.hbut.supermarket1.dto.SaleDto;
import ed.hbut.supermarket1.entity.Merchandise;
import ed.hbut.supermarket1.entity.Sale;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SaleService {
    void addSale(SaleDto saleDto);

    List<Sale> getAllSale();

    List<MerchandiseDto> getMerchandiseBySaleId(int id);

    void deleteSale(int id);
}
